Animation Commands
{
"commands": [
{
"type": "move",
"target": "model_name",
"position": [1, 0, 0],
"duration": 2,
"easing": "quadraticInOut"
},
{
"type": "rotate",
"target": "model_name",
"rotation": [0, 90, 0],
"duration": 1.5
},
{
"type": "pose",
"target": "model_name",
"joints": {
"arm_L": {"rotation": [0, 0, 45]},
"arm_R": {"rotation": [0, 0, -45]}
},
"duration": 2
}
]
}
Command Types:
- move: Change position
- rotate: Change rotation
- scale: Change scale
- pose: Set joint rotations
Easing: linear, quadraticInOut, cubicInOut, elasticOut